package com.mingqijia.gassafety.webserver.request.workorder;

import com.mingqijia.gassafety.webserver.request.ContactsRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;


@Data
public class NewAsstEditContactRequest {
    @ApiModelProperty("户号")
    @NotBlank(message = "户号不能为空")
    private String subsCode;

    @ApiModelProperty("组织编码")
    @NotBlank(message = "dataOrgId不能为空")
    private String dataOrgId;

    @NotEmpty(message = "联系人列表不能为空")
    private List<ContactsRequest> contactsList;
}
